/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.behavioural.templatemethod;

/**
 *
 * @author Chelsea
 */
public abstract class Meal {
public final String doMeal(){
String meal ="";

meal = meal + prepareIngredients();
meal = meal + cook();
meal = meal + eat();
meal = meal + cleanUp();

return meal;
}
public abstract String prepareIngredients();
public abstract String cook();

public String eat(){
return "Mmm,that'sgood";
}
public abstract String cleanUp();

}
